#include "XML_Texte.h"
#include "commun.h"

#include <iostream>

XML_Texte::XML_Texte(string text)
{
	this->text = text;
}

XML_Texte::~XML_Texte()
{

}

string XML_Texte::toString( unsigned char depth )
{
	string s = "";

	while( depth > 0 )
	{
		s += ESPACE;
		depth--;
	}

	s += text;
	s += '\n';

	return s;
}
